package com.authManager.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * <p>
 * 【系统编码表】实体类
 * </p>
 *
 * @author 小旋风
 * @since 2018-8-19
 */
@TableName("sys_code")
@ApiModel(description="系统编码表")
public class SysCode  implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
    @TableId(value="sys_code_id", type= IdType.AUTO)
    private Integer sysCodeId;
	/**
	 * 编码类型
	 */
	@ApiModelProperty(value = "编码类型")
    @TableField(value="code_type")
    private String codeType;
	/**
	 * 编码
	 */
	@ApiModelProperty(value = "编码")
    @TableField(value="code")
    private String code;
	/**
	 * 编码名称
	 */
	@ApiModelProperty(value = "编码名称")
    @TableField(value="name")
    private String name;
	/**
	 * 编码值
	 */
	@ApiModelProperty(value = "编码值")
    @TableField(value="val")
    private String val;
	
	public Integer getSysCodeId() {
		return this.sysCodeId;
	}
	
	public SysCode setSysCodeId(Integer sysCodeId) {
		this.sysCodeId = sysCodeId;
		return this;
	}

	public String getCodeType() {
		return this.codeType;
	}
	
	public SysCode setCodeType(String codeType) {
		this.codeType = codeType;
		return this;
	}

	public String getCode() {
		return this.code;
	}
	
	public SysCode setCode(String code) {
		this.code = code;
		return this;
	}

	public String getName() {
		return this.name;
	}
	
	public SysCode setName(String name) {
		this.name = name;
		return this;
	}

	public String getVal() {
		return this.val;
	}
	
	public SysCode setVal(String val) {
		this.val = val;
		return this;
	}

}